<template>
  <div>
    <h1>AAA</h1>
    <p>{{ aaa }}</p>
  </div>
</template>

<script>
export default {
  name: "AComp",
  data() {
    return {
      aaa: 1,
    };
  },
  mounted() {
    console.log(this.$parent.bbb);
    this.$parent.bbb++;
  },
};
</script>

<style></style>
